<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Repetier-Firmware: src/ArduinoAVR/Repetier/Extruder.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon128.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_extruder_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Extruder.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="_extruder_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_temperature_controller.html">TemperatureController</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html">Extruder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data to drive one extruder.  <a href="class_extruder.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a8c84a613965a74a4e84d83425eae948c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a8c84a613965a74a4e84d83425eae948c">CELSIUS_EXTRA_BITS</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a8c84a613965a74a4e84d83425eae948c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af125237d5a7deea3b026240ad0ad9818"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#af125237d5a7deea3b026240ad0ad9818">VIRTUAL_EXTRUDER</a>&#160;&#160;&#160;16</td></tr>
<tr class="separator:af125237d5a7deea3b026240ad0ad9818"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad07dfcf06739f6dfa24e38824a2e44f7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#ad07dfcf06739f6dfa24e38824a2e44f7">HTR_OFF</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:ad07dfcf06739f6dfa24e38824a2e44f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1acaac309f0d4979e8270a1d61d4c09e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a1acaac309f0d4979e8270a1d61d4c09e">HTR_PID</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a1acaac309f0d4979e8270a1d61d4c09e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e606f6655c4c0a630b49468dd3e935"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a69e606f6655c4c0a630b49468dd3e935">HTR_SLOWBANG</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a69e606f6655c4c0a630b49468dd3e935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab829b9d29819115e4264f35cafb38ee9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#ab829b9d29819115e4264f35cafb38ee9">HTR_DEADTIME</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:ab829b9d29819115e4264f35cafb38ee9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32f5d84c920892bfe4c7eed3c479abcf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a32f5d84c920892bfe4c7eed3c479abcf">TEMPERATURE_CONTROLLER_FLAG_ALARM</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a32f5d84c920892bfe4c7eed3c479abcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e8aa95c1be30663ff3992662e229695"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a4e8aa95c1be30663ff3992662e229695">TEMPERATURE_CONTROLLER_FLAG_DECOUPLE_FULL</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:a4e8aa95c1be30663ff3992662e229695"><td class="mdescLeft">&#160;</td><td class="mdescRight">Full heating enabled.  <a href="#a4e8aa95c1be30663ff3992662e229695">More...</a><br /></td></tr>
<tr class="separator:a4e8aa95c1be30663ff3992662e229695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdb968ee65e99043d0a7fbde2844cc23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#acdb968ee65e99043d0a7fbde2844cc23">TEMPERATURE_CONTROLLER_FLAG_DECOUPLE_HOLD</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:acdb968ee65e99043d0a7fbde2844cc23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holding target temperature.  <a href="#acdb968ee65e99043d0a7fbde2844cc23">More...</a><br /></td></tr>
<tr class="separator:acdb968ee65e99043d0a7fbde2844cc23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1ef2f16796494fba60b1519b244bb0b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#ab1ef2f16796494fba60b1519b244bb0b">TEMPERATURE_CONTROLLER_FLAG_SENSDEFECT</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:ab1ef2f16796494fba60b1519b244bb0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicating sensor defect.  <a href="#ab1ef2f16796494fba60b1519b244bb0b">More...</a><br /></td></tr>
<tr class="separator:ab1ef2f16796494fba60b1519b244bb0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4feda9661828b0b1867242ba8437c218"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a4feda9661828b0b1867242ba8437c218">TEMPERATURE_CONTROLLER_FLAG_SENSDECOUPLED</a>&#160;&#160;&#160;16</td></tr>
<tr class="memdesc:a4feda9661828b0b1867242ba8437c218"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicating sensor decoupling.  <a href="#a4feda9661828b0b1867242ba8437c218">More...</a><br /></td></tr>
<tr class="separator:a4feda9661828b0b1867242ba8437c218"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07bf4a7b8bb6714249d0169d5067b91d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a07bf4a7b8bb6714249d0169d5067b91d">TEMPERATURE_CONTROLLER_FLAG_JAM</a>&#160;&#160;&#160;32</td></tr>
<tr class="memdesc:a07bf4a7b8bb6714249d0169d5067b91d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates a jammed filament.  <a href="#a07bf4a7b8bb6714249d0169d5067b91d">More...</a><br /></td></tr>
<tr class="separator:a07bf4a7b8bb6714249d0169d5067b91d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f4c3565b25ec6870bf5c69b33e8371e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a4f4c3565b25ec6870bf5c69b33e8371e">TEMPERATURE_CONTROLLER_FLAG_SLOWDOWN</a>&#160;&#160;&#160;64</td></tr>
<tr class="memdesc:a4f4c3565b25ec6870bf5c69b33e8371e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates a slowed down extruder.  <a href="#a4f4c3565b25ec6870bf5c69b33e8371e">More...</a><br /></td></tr>
<tr class="separator:a4f4c3565b25ec6870bf5c69b33e8371e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ed0171f615051355f2dfe08dde4ea69"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a8ed0171f615051355f2dfe08dde4ea69">TEMPERATURE_CONTROLLER_FLAG_FILAMENTCHANGE</a>&#160;&#160;&#160;128</td></tr>
<tr class="memdesc:a8ed0171f615051355f2dfe08dde4ea69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates we are switching filament.  <a href="#a8ed0171f615051355f2dfe08dde4ea69">More...</a><br /></td></tr>
<tr class="separator:a8ed0171f615051355f2dfe08dde4ea69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ef5c67a9e0564955d7db67aec5caef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a17ef5c67a9e0564955d7db67aec5caef">PID_TEMP_CORRECTION</a>&#160;&#160;&#160;2.0</td></tr>
<tr class="separator:a17ef5c67a9e0564955d7db67aec5caef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b7ad2ca518c597df304f40b6a9f3fa7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a9b7ad2ca518c597df304f40b6a9f3fa7">deadTime</a>&#160;&#160;&#160;pidPGain</td></tr>
<tr class="separator:a9b7ad2ca518c597df304f40b6a9f3fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a833e554327ca579b598831b5bc970dde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a833e554327ca579b598831b5bc970dde">TEST_EXTRUDER_JAM</a>(x)</td></tr>
<tr class="separator:a833e554327ca579b598831b5bc970dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83875e1ec70550a668c1f731d7253ec8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a83875e1ec70550a668c1f731d7253ec8">RESET_EXTRUDER_JAM</a>(x,  dir)</td></tr>
<tr class="separator:a83875e1ec70550a668c1f731d7253ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace05f70a1fb6a359242a4352f4cc1d2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#ace05f70a1fb6a359242a4352f4cc1d2c">EXTRUDER_FLAG_RETRACTED</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ace05f70a1fb6a359242a4352f4cc1d2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc1b62188b6045d1eb41f775d747b01"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#acfc1b62188b6045d1eb41f775d747b01">EXTRUDER_FLAG_WAIT_JAM_STARTCOUNT</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:acfc1b62188b6045d1eb41f775d747b01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waiting for the first signal to start counting.  <a href="#acfc1b62188b6045d1eb41f775d747b01">More...</a><br /></td></tr>
<tr class="separator:acfc1b62188b6045d1eb41f775d747b01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba7a333ee2d44ee9d625476379cd1519"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#aba7a333ee2d44ee9d625476379cd1519">HEATED_BED_INDEX</a>&#160;&#160;&#160;<a class="el" href="_configuration_8h.html#a8cb1f491dd9270f6668ba7a5b0454799">NUM_EXTRUDER</a>-1</td></tr>
<tr class="separator:aba7a333ee2d44ee9d625476379cd1519"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeebf6e36ea302b4c031198e81d91eab7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#aeebf6e36ea302b4c031198e81d91eab7">THERMO_CONTROLLER_INDEX</a>&#160;&#160;&#160;<a class="el" href="_extruder_8h.html#aba7a333ee2d44ee9d625476379cd1519">HEATED_BED_INDEX</a>+1</td></tr>
<tr class="separator:aeebf6e36ea302b4c031198e81d91eab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a732572fe39e3be2beed6b641e11cb29b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a732572fe39e3be2beed6b641e11cb29b">NUM_TEMPERATURE_LOOPS</a>&#160;&#160;&#160;<a class="el" href="_extruder_8h.html#aeebf6e36ea302b4c031198e81d91eab7">THERMO_CONTROLLER_INDEX</a>+1</td></tr>
<tr class="separator:a732572fe39e3be2beed6b641e11cb29b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72eef0d6c84eb620f90075d42ff252ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a72eef0d6c84eb620f90075d42ff252ef">TEMP_INT_TO_FLOAT</a>(temp)&#160;&#160;&#160;((float)(temp)/(float)(1&lt;&lt;<a class="el" href="_extruder_8h.html#a8c84a613965a74a4e84d83425eae948c">CELSIUS_EXTRA_BITS</a>))</td></tr>
<tr class="separator:a72eef0d6c84eb620f90075d42ff252ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff23d04f7889b1fe552bc0622ab2443a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#aff23d04f7889b1fe552bc0622ab2443a">TEMP_FLOAT_TO_INT</a>(temp)&#160;&#160;&#160;((int)((temp)*(1&lt;&lt;<a class="el" href="_extruder_8h.html#a8c84a613965a74a4e84d83425eae948c">CELSIUS_EXTRA_BITS</a>)))</td></tr>
<tr class="separator:aff23d04f7889b1fe552bc0622ab2443a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a315932161064446f91dee3f444feb52e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a315932161064446f91dee3f444feb52e">reportTempsensorError</a> ()</td></tr>
<tr class="memdesc:a315932161064446f91dee3f444feb52e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Report defect sensors.  <a href="#a315932161064446f91dee3f444feb52e">More...</a><br /></td></tr>
<tr class="separator:a315932161064446f91dee3f444feb52e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:acf662ee7130e0dd201b34efdad6398e8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#acf662ee7130e0dd201b34efdad6398e8">manageMonitor</a></td></tr>
<tr class="memdesc:acf662ee7130e0dd201b34efdad6398e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Temp. we want to monitor with our host. 1+NUM_EXTRUDER is heated bed.  <a href="#acf662ee7130e0dd201b34efdad6398e8">More...</a><br /></td></tr>
<tr class="separator:acf662ee7130e0dd201b34efdad6398e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa730feabd67ec703351bf120a9373e8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_extruder.html">Extruder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#aa730feabd67ec703351bf120a9373e8e">extruder</a> []</td></tr>
<tr class="separator:aa730feabd67ec703351bf120a9373e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3232bbca814063df00c5a5d00eba159"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_temperature_controller.html">TemperatureController</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#ad3232bbca814063df00c5a5d00eba159">thermoController</a></td></tr>
<tr class="separator:ad3232bbca814063df00c5a5d00eba159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0644388d0727745182f33056c5b030c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_temperature_controller.html">TemperatureController</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#a0644388d0727745182f33056c5b030c4">tempController</a> [<a class="el" href="_extruder_8h.html#a732572fe39e3be2beed6b641e11cb29b">NUM_TEMPERATURE_LOOPS</a>]</td></tr>
<tr class="separator:a0644388d0727745182f33056c5b030c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aead8bf2fe743650b4fbd1a811ab91710"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_extruder_8h.html#aead8bf2fe743650b4fbd1a811ab91710">autotuneIndex</a></td></tr>
<tr class="separator:aead8bf2fe743650b4fbd1a811ab91710"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a8c84a613965a74a4e84d83425eae948c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c84a613965a74a4e84d83425eae948c">&#9670;&nbsp;</a></span>CELSIUS_EXTRA_BITS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CELSIUS_EXTRA_BITS&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9b7ad2ca518c597df304f40b6a9f3fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b7ad2ca518c597df304f40b6a9f3fa7">&#9670;&nbsp;</a></span>deadTime</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define deadTime&#160;&#160;&#160;pidPGain</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ace05f70a1fb6a359242a4352f4cc1d2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace05f70a1fb6a359242a4352f4cc1d2c">&#9670;&nbsp;</a></span>EXTRUDER_FLAG_RETRACTED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXTRUDER_FLAG_RETRACTED&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acfc1b62188b6045d1eb41f775d747b01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfc1b62188b6045d1eb41f775d747b01">&#9670;&nbsp;</a></span>EXTRUDER_FLAG_WAIT_JAM_STARTCOUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXTRUDER_FLAG_WAIT_JAM_STARTCOUNT&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Waiting for the first signal to start counting. </p>

</div>
</div>
<a id="aba7a333ee2d44ee9d625476379cd1519"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba7a333ee2d44ee9d625476379cd1519">&#9670;&nbsp;</a></span>HEATED_BED_INDEX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HEATED_BED_INDEX&#160;&#160;&#160;<a class="el" href="_configuration_8h.html#a8cb1f491dd9270f6668ba7a5b0454799">NUM_EXTRUDER</a>-1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab829b9d29819115e4264f35cafb38ee9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab829b9d29819115e4264f35cafb38ee9">&#9670;&nbsp;</a></span>HTR_DEADTIME</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HTR_DEADTIME&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad07dfcf06739f6dfa24e38824a2e44f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad07dfcf06739f6dfa24e38824a2e44f7">&#9670;&nbsp;</a></span>HTR_OFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HTR_OFF&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1acaac309f0d4979e8270a1d61d4c09e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1acaac309f0d4979e8270a1d61d4c09e">&#9670;&nbsp;</a></span>HTR_PID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HTR_PID&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a69e606f6655c4c0a630b49468dd3e935"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69e606f6655c4c0a630b49468dd3e935">&#9670;&nbsp;</a></span>HTR_SLOWBANG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HTR_SLOWBANG&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a732572fe39e3be2beed6b641e11cb29b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a732572fe39e3be2beed6b641e11cb29b">&#9670;&nbsp;</a></span>NUM_TEMPERATURE_LOOPS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NUM_TEMPERATURE_LOOPS&#160;&#160;&#160;<a class="el" href="_extruder_8h.html#aeebf6e36ea302b4c031198e81d91eab7">THERMO_CONTROLLER_INDEX</a>+1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a17ef5c67a9e0564955d7db67aec5caef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17ef5c67a9e0564955d7db67aec5caef">&#9670;&nbsp;</a></span>PID_TEMP_CORRECTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PID_TEMP_CORRECTION&#160;&#160;&#160;2.0</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a83875e1ec70550a668c1f731d7253ec8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83875e1ec70550a668c1f731d7253ec8">&#9670;&nbsp;</a></span>RESET_EXTRUDER_JAM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RESET_EXTRUDER_JAM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">dir&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aff23d04f7889b1fe552bc0622ab2443a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff23d04f7889b1fe552bc0622ab2443a">&#9670;&nbsp;</a></span>TEMP_FLOAT_TO_INT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMP_FLOAT_TO_INT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">temp</td><td>)</td>
          <td>&#160;&#160;&#160;((int)((temp)*(1&lt;&lt;<a class="el" href="_extruder_8h.html#a8c84a613965a74a4e84d83425eae948c">CELSIUS_EXTRA_BITS</a>)))</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a72eef0d6c84eb620f90075d42ff252ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72eef0d6c84eb620f90075d42ff252ef">&#9670;&nbsp;</a></span>TEMP_INT_TO_FLOAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMP_INT_TO_FLOAT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">temp</td><td>)</td>
          <td>&#160;&#160;&#160;((float)(temp)/(float)(1&lt;&lt;<a class="el" href="_extruder_8h.html#a8c84a613965a74a4e84d83425eae948c">CELSIUS_EXTRA_BITS</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a32f5d84c920892bfe4c7eed3c479abcf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32f5d84c920892bfe4c7eed3c479abcf">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_ALARM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_ALARM&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4e8aa95c1be30663ff3992662e229695"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e8aa95c1be30663ff3992662e229695">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_DECOUPLE_FULL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_DECOUPLE_FULL&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Full heating enabled. </p>

</div>
</div>
<a id="acdb968ee65e99043d0a7fbde2844cc23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdb968ee65e99043d0a7fbde2844cc23">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_DECOUPLE_HOLD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_DECOUPLE_HOLD&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Holding target temperature. </p>

</div>
</div>
<a id="a8ed0171f615051355f2dfe08dde4ea69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ed0171f615051355f2dfe08dde4ea69">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_FILAMENTCHANGE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_FILAMENTCHANGE&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicates we are switching filament. </p>

</div>
</div>
<a id="a07bf4a7b8bb6714249d0169d5067b91d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07bf4a7b8bb6714249d0169d5067b91d">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_JAM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_JAM&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicates a jammed filament. </p>

</div>
</div>
<a id="a4feda9661828b0b1867242ba8437c218"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4feda9661828b0b1867242ba8437c218">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_SENSDECOUPLED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_SENSDECOUPLED&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicating sensor decoupling. </p>

</div>
</div>
<a id="ab1ef2f16796494fba60b1519b244bb0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1ef2f16796494fba60b1519b244bb0b">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_SENSDEFECT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_SENSDEFECT&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicating sensor defect. </p>

</div>
</div>
<a id="a4f4c3565b25ec6870bf5c69b33e8371e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f4c3565b25ec6870bf5c69b33e8371e">&#9670;&nbsp;</a></span>TEMPERATURE_CONTROLLER_FLAG_SLOWDOWN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEMPERATURE_CONTROLLER_FLAG_SLOWDOWN&#160;&#160;&#160;64</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicates a slowed down extruder. </p>

</div>
</div>
<a id="a833e554327ca579b598831b5bc970dde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a833e554327ca579b598831b5bc970dde">&#9670;&nbsp;</a></span>TEST_EXTRUDER_JAM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TEST_EXTRUDER_JAM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aeebf6e36ea302b4c031198e81d91eab7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeebf6e36ea302b4c031198e81d91eab7">&#9670;&nbsp;</a></span>THERMO_CONTROLLER_INDEX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define THERMO_CONTROLLER_INDEX&#160;&#160;&#160;<a class="el" href="_extruder_8h.html#aba7a333ee2d44ee9d625476379cd1519">HEATED_BED_INDEX</a>+1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af125237d5a7deea3b026240ad0ad9818"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af125237d5a7deea3b026240ad0ad9818">&#9670;&nbsp;</a></span>VIRTUAL_EXTRUDER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VIRTUAL_EXTRUDER&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a315932161064446f91dee3f444feb52e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a315932161064446f91dee3f444feb52e">&#9670;&nbsp;</a></span>reportTempsensorError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool reportTempsensorError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Report defect sensors. </p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="aead8bf2fe743650b4fbd1a811ab91710"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aead8bf2fe743650b4fbd1a811ab91710">&#9670;&nbsp;</a></span>autotuneIndex</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t autotuneIndex</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa730feabd67ec703351bf120a9373e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa730feabd67ec703351bf120a9373e8e">&#9670;&nbsp;</a></span>extruder</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_extruder.html">Extruder</a> extruder[]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acf662ee7130e0dd201b34efdad6398e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf662ee7130e0dd201b34efdad6398e8">&#9670;&nbsp;</a></span>manageMonitor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t manageMonitor</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Temp. we want to monitor with our host. 1+NUM_EXTRUDER is heated bed. </p>

</div>
</div>
<a id="a0644388d0727745182f33056c5b030c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0644388d0727745182f33056c5b030c4">&#9670;&nbsp;</a></span>tempController</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_temperature_controller.html">TemperatureController</a>* tempController[<a class="el" href="_extruder_8h.html#a732572fe39e3be2beed6b641e11cb29b">NUM_TEMPERATURE_LOOPS</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad3232bbca814063df00c5a5d00eba159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3232bbca814063df00c5a5d00eba159">&#9670;&nbsp;</a></span>thermoController</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_temperature_controller.html">TemperatureController</a> thermoController</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cdf0096ae548159f0698b0a71289cf6c.html">ArduinoAVR</a></li><li class="navelem"><a class="el" href="dir_360d65efbdba454d299657bac363b72c.html">Repetier</a></li><li class="navelem"><a class="el" href="_extruder_8h.html">Extruder.h</a></li>
    <li class="footer">Generated on Tue Sep 19 2017 18:54:00 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
